//
//  SKErJiPingLunCell.m
//  Hand-held_kitchen
//
//  Created by 张张烨 on 16/1/18.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "SKErJiPingLunCell.h"

@implementation SKErJiPingLunCell

- (void)dealloc
{
    [_tupian release];
    [_pinglunshu release];
    [super dealloc];
}
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        /**<  评论数 */
        self.pinglunshu = [[UILabel alloc]init];
        [self.contentView addSubview:_pinglunshu];
        [_pinglunshu release];
        /**<  图片 */
        self.tupian = [[UIImageView alloc]init];
        [self.contentView addSubview:_tupian];
        [_tupian release];
        
    }
    return self;
}
-(void)layoutSubviews
{
    [super layoutSubviews];
    _pinglunshu.frame = CGRectMake(10  * KUAN, 15 * GAO, 200 * KUAN, 30 *GAO);
    _tupian.frame = CGRectMake(10 * KUAN, 45 * GAO, 355 * KUAN, 40 * GAO);
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
